package main

import "fmt"

func main() {
	fmt.Println("to day is january seventh ! ")
	var a map[int]int
	fmt.Println(a == nil)
	d := map[int8]int8{}
	//print(d)
	fmt.Println(d == nil)
	d[1] = 10
	fmt.Println(d)
	item := make(map[string]int, 2)
	fmt.Println(item == nil, item)
	item["bob"] = 17
	item["lisa"] = 18
	item["lulu"] = 10
	fmt.Println(item)
	for k, v := range item {
		fmt.Println(k, v)
	}
	//key, value := item["felix"]
	//if value{
	//	fmt.Println("has attribute")
	//}else{
	//	fmt.Println("key is :", key)
	//}
	key, value := item["lulu"]
	if value{
		fmt.Println("has attribute: ", value, key)
	}else{
		fmt.Println("key is :", key)
	}
}
